<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Class template dst_day_calc_rule</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../../date_time/doxy.html#doxygen.date_time_reference.dst__transition__generators_8hpp" title="Header &lt;boost/date_time/dst_transition_generators.hpp&gt;">
<link rel="prev" href="classboost_1_1date__time_1_1day__calc__dst__rule.html" title="Class template day_calc_dst_rule">
<link rel="next" href="filetime__functions_8hpp_1ae4da76c6afd88097cb838742c7d85551.html" title="Function template time_from_ftime">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
<td align="center"><a href="../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="classboost_1_1date__time_1_1day__calc__dst__rule.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#doxygen.date_time_reference.dst__transition__generators_8hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="filetime__functions_8hpp_1ae4da76c6afd88097cb838742c7d85551.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="doxygen.date_time_reference.classboost_1_1date__time_1_1dst__day__calc__rule"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class template dst_day_calc_rule</span></h2>
<p>boost::date_time::dst_day_calc_rule — Defines base interface for calculating start and end date of daylight savings. </p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../date_time/doxy.html#doxygen.date_time_reference.dst__transition__generators_8hpp" title="Header &lt;boost/date_time/dst_transition_generators.hpp&gt;">boost/date_time/dst_transition_generators.hpp</a>&gt;

</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> date_type<span class="special">&gt;</span> 
<span class="keyword">class</span> <a class="link" href="classboost_1_1date__time_1_1dst__day__calc__rule.html" title="Class template dst_day_calc_rule">dst_day_calc_rule</a> <span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <span class="identifier">date_type</span><span class="special">::</span><span class="identifier">year_type</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1dst__day__calc__rule_1ab5711036d63166f5e0ff3ca042cbfc0a"></a><span class="identifier">year_type</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="classboost_1_1date__time_1_1dst__day__calc__rule.html#id-1_3_11_15_3_24_1_1_2_4-bb">public member functions</a></span>
  <span class="keyword">virtual</span> <a class="link" href="classboost_1_1date__time_1_1dst__day__calc__rule.html#doxygen.date_time_reference.classboost_1_1date__time_1_1dst__day__calc__rule_1a5b805fc5ae1efb5436d99d0d43c43557"><span class="special">~</span><span class="identifier">dst_day_calc_rule</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">virtual</span> <span class="identifier">date_type</span> <a class="link" href="classboost_1_1date__time_1_1dst__day__calc__rule.html#doxygen.date_time_reference.classboost_1_1date__time_1_1dst__day__calc__rule_1a37d947502f1b4ed93f3a3689e6315bdf"><span class="identifier">start_day</span></a><span class="special">(</span><span class="identifier">year_type</span><span class="special">)</span> <span class="keyword">const</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
  <span class="keyword">virtual</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="classboost_1_1date__time_1_1dst__day__calc__rule.html#doxygen.date_time_reference.classboost_1_1date__time_1_1dst__day__calc__rule_1aece19b296a896c2c96e3fe14c11af24d"><span class="identifier">start_rule_as_string</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
  <span class="keyword">virtual</span> <span class="identifier">date_type</span> <a class="link" href="classboost_1_1date__time_1_1dst__day__calc__rule.html#doxygen.date_time_reference.classboost_1_1date__time_1_1dst__day__calc__rule_1a3c2c6363cbf77885866e23aa59d31741"><span class="identifier">end_day</span></a><span class="special">(</span><span class="identifier">year_type</span><span class="special">)</span> <span class="keyword">const</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
  <span class="keyword">virtual</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="classboost_1_1date__time_1_1dst__day__calc__rule.html#doxygen.date_time_reference.classboost_1_1date__time_1_1dst__day__calc__rule_1a6d9d267c0bf88954d42a4c0d84fabb57"><span class="identifier">end_rule_as_string</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.11.15.3.24.4.4"></a><h2>Description</h2>
<div class="refsect2">
<a name="id-1.3.11.15.3.24.4.4.2"></a><h3>
<a name="id-1_3_11_15_3_24_1_1_2_4-bb"></a><code class="computeroutput">dst_day_calc_rule</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><span class="keyword">virtual</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1dst__day__calc__rule_1a5b805fc5ae1efb5436d99d0d43c43557"></a><span class="special">~</span><span class="identifier">dst_day_calc_rule</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">virtual</span> <span class="identifier">date_type</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1dst__day__calc__rule_1a37d947502f1b4ed93f3a3689e6315bdf"></a><span class="identifier">start_day</span><span class="special">(</span><span class="identifier">year_type</span> y<span class="special">)</span> <span class="keyword">const</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">virtual</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1dst__day__calc__rule_1aece19b296a896c2c96e3fe14c11af24d"></a><span class="identifier">start_rule_as_string</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">virtual</span> <span class="identifier">date_type</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1dst__day__calc__rule_1a3c2c6363cbf77885866e23aa59d31741"></a><span class="identifier">end_day</span><span class="special">(</span><span class="identifier">year_type</span> y<span class="special">)</span> <span class="keyword">const</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">virtual</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1dst__day__calc__rule_1a6d9d267c0bf88954d42a4c0d84fabb57"></a><span class="identifier">end_rule_as_string</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2001-2005 CrystalClear Software, Inc<p>Subject to the Boost Software License, Version 1.0. (See accompanying file
    <code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)</p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="classboost_1_1date__time_1_1day__calc__dst__rule.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#doxygen.date_time_reference.dst__transition__generators_8hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="filetime__functions_8hpp_1ae4da76c6afd88097cb838742c7d85551.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
